package com.peter.design.pattern.state.general.apply;

/**
 * @Auther: 肖冬
 * @Date: 2020/7/31 22:30
 * @Description:抽象状态
 */
public abstract class State {
    protected Context context;

    public void setContext(Context context){
        this.context = context;
    }

    public abstract void handler();
}
